package com.lagou.dao;

import com.lagou.test.User;

import java.util.List;

/**
 * @author lyj
 * @Title: IUserDao
 * @ProjectName lagou_project
 * @Description: TODO
 * @date 2020/5/31 16:29
 */

public interface IUserDao {
    public List<User> findAll() throws Exception;
    public User findByCondition(User user) throws Exception;
    public int insertUser(User user)throws Exception;
    public int updateUser(User user)throws Exception;
    public int deleteUser(Integer id)throws Exception;
}
